Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transaction replays #281

Closed
wants to merge 8 commits into from
Closed

Transaction replays #281

wants to merge 8 commits into from

Conversation

hardyjosh
Copy link
Contributor

Motivation

Sometimes we want to replay a transaction on a fork and get the Rainlang traces from it.

Solution

  • Added a replay_transaction function to Forker which gives a RawCallResult
  • Made a From impl for RainEvalResult that pulls out all of the Rainlang traces.

Checks

By submitting this for review, I'm confirming I've done the following:

  • made this PR as small as possible
  • unit-tested any new functionality
  • linked any relevant issues or PRs

@hardyjosh hardyjosh self-assigned this Aug 29, 2024
@hardyjosh hardyjosh closed this Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant